from pandas import DataFrame

'''
对数据排序
'''


def sort_data(data: DataFrame, sort_param: str):
    data.sort_values(by=sort_param, ascending=True, inplace=True)
